﻿@{
    List<ywwApp.Controllers.Product> list = ViewData["products"] as List<ywwApp.Controllers.Product>;
    foreach (var item in list)
    {
        <div class="col-sm-6 col-md-4 col-lg-3 ">
            <div class="thumbnail">
                <a href="javascript:void(0)" title="@item.Title" target="_blank">
                    <img class="lazy" src="@item.Image" width="300" height="150">
                </a>
                <div class="caption">
                    <div class="p-price">
                        <strong>
                            <em>￥</em><i>@item.Price</i>
                        </strong>
                        <span id="msg_@item.TpProductId" style="color: #009fff; float: right;font-size:15px;"></span>
                    </div>
                    <div class="p-title">@item.Title</div>
                </div>
            </div>
        </div>
    }
}